package com.sc.nft.service;

import com.sc.nft.entity.ActivityBasics;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sc.nft.entity.ActivityBasics;
import com.sc.nft.entity.PrizeDrawActivitySettleRecords;
import com.sc.nft.entity.PrizeDrawResult;

import java.util.List;

/**
 * (PrizeDrawResult)表服务接口
 *
 * @author 王伟成
 * @since 2023-09-12 14:55:46
 */
public interface PrizeDrawResultService {


    /**
     * 去排列5官网爬结果
     */
    void arrangeFiveResult();


    void drawLottery(ActivityBasics activityBasics);

    /**
     * 瓜分活动开奖
     */
    void divideUpTheLottery(ActivityBasics activityBasics);
    /**
     * 获取中奖数据
     * is_settle : TRUE
     * status : 未发放
     * @return
     */
    List<PrizeDrawActivitySettleRecords> getListByIsSettleAndStatus();

    /**
     * 发放奖励
     * @param prizeDrawActivitySettleRecords
     */
    void distributeWinningPrizes(PrizeDrawActivitySettleRecords prizeDrawActivitySettleRecords);
}
